package com.xiaochi.auth.application.convert;

import com.xiaochi.auth.entity.AuthUserDTO;
import com.xiaochi.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户dto转换器
 * @author zqx
 * @since 2024/8/28
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO authUserDtoToBo(AuthUserDTO authUserDTO);

    AuthUserDTO authUserBOToDto(AuthUserBO authUserBO);
}
